<template>
  <div>
    <h2>A组件</h2>
  </div>
</template>
<script>
export default {
  name: "AComp",
  data() {
    return {};
  },
  methods: {},
  props: ["aa"],
  mounted() {
    // this.$attrs接收所有没有被props接收的props数据
    // console.log(this.$attrs);
    // this.$listeners接收所有的自定义事件
    console.log(this.$listeners);
  },
};
</script>

<style lang="less" scoped></style>
